package com.syni.mdd.sjb.tool.enums;

import com.syni.mdd.sjb.common.component.utils.common.constants.CommonResultCode;
import com.syni.mdd.sjb.common.component.utils.common.constants.CommonResultMsg;
import com.syni.mdd.sjb.common.component.utils.common.enums.ReturnEnums;

public enum CdnEnums implements ReturnEnums {
    GET_UPLOAD_SIGNATURE_FAIL(CommonResultMsg.GET_FAIL, CommonResultCode.CODE_ERROR_100);
    private String desc;
    private String returnCode;

    CdnEnums(String desc, String returnCode) {
        this.desc = desc;
        this.returnCode = returnCode;
    }

    @Override
    public String getCode() {
        return this.returnCode;
    }

    @Override
    public String getMsg() {
        return this.desc;
    }
}
